package cn.edu.ctbu.secdata.vo;

import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.time.LocalDateTime;

public class StudentVO {
    private Integer id;


    private String name;


    /**
     * 性别
     */
    private  Integer sex;


    /**
     * 生日
     */
    //@JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy年MM月dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime birthday;

    /**
     * 头像
     */
    private  String avatar;
}
